From: Nicolas Thill Date: Wed, 10 Jan 2007 11:59:42 +0000 (+0000) Subject: add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP) X-Git-Tag: whiterussian_0.9~14 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org///%22https:/collectd.org/?a=commitdiff_plain;h=4340d46cebac03db86f83a663ea5065b07528f68;p=openwrt%2Fsvn-archive%2Fopenwrt.git add a hack to allow source package names in Build-Depends: (PKG_BUILDDEP) SVN-Revision: 6060 --- diff --git a/openwrt/package/sdk/files/scripts/gen_deps.pl b/openwrt/package/sdk/files/scripts/gen_deps.pl index af206f0047..0fc80aae85 100755 --- a/openwrt/package/sdk/files/scripts/gen_deps.pl +++ b/openwrt/package/sdk/files/scripts/gen_deps.pl @@ -28,6 +28,8 @@ while ($line = <>) { $line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do { $makefile = $1; $src = $2; + defined $pkg{$src} or $pkg{$src} = {}; + $pkg{$src}->{src} = $src; }; $line =~ /^Package: \s*(.+)\s*$/ and do { $name = $1;